19. Hardware Related Commands > 19.7 AT^SSPI   Serial Protocol Interface > 19.7.6 Example: Transfer and Response Messages on SPI

19.7.6

The following examples shall illustrate the message structure and write/read procedures explained in Section 19.7.3.2, Structure of Messages on the SPI. Blanks are inserted only to better visualize frame elements. In prac­tice no blanks are allowed.
 
 
Transfer Message: The master requests to read 16 bytes from the slave. Read Offset is zero, therefore, reading starts from the first byte.
 
Transfer Message: The master requests to read 8 bytes from the slave. Read Offset is 3, therefore, reading starts from the fourth byte.
 
Transfer Message: The master writes 6 bytes and requests to read 4 bytes from the slave. Read Offset is 3, therefore, reading starts from the fourth byte.